package com.pactera.mavenweb.service;

import java.util.List;

import com.pactera.mavenweb.entity.Group;

/**
 * GroupService
 * @author SteveXIE
 *
 */
public interface GroupService {
	/**
	 * 批量保存
	 * @param Group
	 * @return
	 */
	int saveGroups(List<Group> groups);
	
	public Group getGroup(int id);
	
	public List<Group> getAllGroup();
	
	public void addGroup(Group group);
	
	public boolean delGroup(String id);
	
	public void updateGroup(Group group);
}